package entities;

import java.io.Serializable;
import java.lang.String;
import javax.persistence.*;

@Entity
@Table(name = "users")
@NamedQueries({ @NamedQuery(name = "AlleUser", query = "SELECT u FROM User u") })
public class User implements Serializable
{
	private static final long serialVersionUID = 1L;

	@Id
	private String name;

	private String password;

	private int ranking;

	public User()
	{
		super();
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getPassword()
	{
		return this.password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public int getRanking()
	{
		return ranking;
	}

	public void setRanking(int ranking)
	{
		this.ranking = ranking;
	}
}
